package com.example.mscluster.consumer;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "${user.feign.name}", url = "${user.feign.url}")
public interface UserFeignClient {

    @RequestMapping(method = RequestMethod.GET, value = "/user/all")
    String getAllUsers();

}
